<ul class="nav nav-tabs">
      {ifp 'order.view.status0|order.view.status1|order.view.status2|order.view.status3|order.view.status4|order.view.status_1'}
    <li {if $operation == 'display' && $status == '' && $_GPC['refund']!='1'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display'))}">全部订单</a>
    </li>
    {/if}
    
    {ifp 'order.view.status0'}
    <li {if $operation == 'display' && $status == '0'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => 0))}">待付款</a>
    </li>
    {/if}
    
    {ifp 'order.view.status1'}
    <li {if $operation == 'display' && $status == '1'} class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => 1))}">待发货</a>
    </li>
    {/if}
    
    {ifp 'order.view.status2'}
    <li {if $operation == 'display' && $status == '2'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => 2))}">待收货</a>
    </li>
    {/if}
    
    {ifp 'order.view.status3'}
    <li {if $operation == 'display' && $status == '3'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => 3))}">已完成</a>
    </li>
    {/if}
    
     {ifp 'order.view.status_1'}
    <li {if $operation == 'display' && $status == '-1'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => -1))}">已关闭</a>
    </li>
    {/if}
      
    
    {ifp 'order.view.status4'}
     <li {if $operation == 'display' && $status== '4'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => 4))}">退款申请</a>
    </li>
    {/if}
     
    {ifp 'order.view.status5'}
    <li {if $operation == 'display' && $status == '5'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => 5))}">已退款</a>
    </li>
    {/if}
    {ifp 'order.view.status6'}
    <li {if $operation == 'display' && $status == '6'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => 6))}">云店订单</a>
    </li>
    {/if}
    {ifp 'order.view.status7'}
    <li {if $operation == 'display' && $status == '7'}class="active"{/if}>
        <a href="{php echo $this->createWebUrl('order', array('op' => 'display', 'status' => 7))}">免运费记录</a>
    </li>
    {/if}
    
    {if $operation == 'detail'}
    <li class="active">
        <a href="#">订单详情</a>
    </li>
    {/if}
</ul>
